package be.ac.ua.codebase;

import java.io.Serializable;
import java.util.UUID;

import net.jini.core.entry.Entry;

import net.jini.core.event.RemoteEventListener;


public class JoinRequest implements Entry, Serializable {
	public static final long serialVersionUID = 1L;
	public UUID productID;
	public CustomerInterface listener = null;
	public String customerName;
	
	public JoinRequest() {
		
	}
	
	public JoinRequest(UUID productID) {
		this.productID = productID;
	}
	
	public JoinRequest(UUID productID, CustomerInterface listener, String customerName) {
		this.productID = productID;
		this.listener = listener;
		this.customerName = customerName;
	}
	
	public CustomerInterface getListener() {
		return this.listener;
	}
}
